package com.fh.shop.api.exception;

import com.fh.shop.api.common.ResponseEnum;

public class IdempotenceException extends RuntimeException{

    private ResponseEnum responseEnum;

    public IdempotenceException(ResponseEnum responseEnum) {
        this.responseEnum = responseEnum;
    }

    public ResponseEnum getResponseEnum() {
        return responseEnum;
    }
}
